package org.jeecg.access.platform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @description: todo
 * @author: taogang
 * @date: 2025/7/21 15:30
 */
@Data
@TableName("dy_works_data")
public class DyWorksData implements BaseWorkData,Serializable {
    private static final long serialVersionUID = 1L;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Id
    private String id;
    @Column(name = "user_id")
    private String userId;
    @Column(name = "title")
    private String title;
    @Column(name = "description")
    private String description;

    /** 阅读量 **/
    @Column(name = "read_count")
    private Integer readCount;

    /** 收藏量 **/
    @Column(name = "collect_count")
    private Integer collectCount;

    /** 点赞量 **/
    @Column(name = "digg_count")
    private Integer diggCount;

    /** 转发量 **/
    @Column(name = "share_count")
    private Integer shareCount;

    /** 评论量 **/
    @Column(name = "comment_count")
    private Integer commentCount;

    /** 下载数 **/
    @Column(name = "download_count")
    private Integer downloadCount;

    /** 视频时长时长(毫秒) **/
    @Column(name = "duration")
    private Long duration;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Column(name = "aweme_id")
    private String awemeId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Column(name = "update_time")
    private String updateTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Column(name = "create_time")
    private String createTime;
}
